package com.zoshine.zzg.pojo;

import com.alibaba.fastjson.annotation.JSONField;
import com.zoshine.zzg.base.Pagination;
import com.zoshine.zzg.pojo.pojostatus.CommonStatus;

import java.util.Date;

/**
 * 角色实体类
 * @author 田沛凌
 * @time 2017年6月22日 下午3:25:57
 */
public class Role extends Pagination{
	private static final long serialVersionUID = 1659390348830692119L;
	/**角色名*/
    private String roleName;

    /**角色状态*/
    private Integer roleStatus;

    /**所属组织*/
    private Long orgId;
    /**组织名称*/
    private String orgName;


    //状态
    public String getRoleStatusStr(){
    	return CommonStatus.getDesc(roleStatus);
    }
   


    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName == null ? null : roleName.trim();
    }

    public Integer getRoleStatus() {
        return roleStatus;
    }

    public void setRoleStatus(Integer roleStatus) {
        this.roleStatus = roleStatus;
    }

    public Long getOrgId() {
		return orgId;
	}

	public void setOrgId(Long orgId) {
		this.orgId = orgId;
	}

	public String getOrgName() {
		return orgName;
	}

	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}

}